package com.library.bookmanagement.mapper;

import com.library.bookmanagement.entity.SuperAdmin;
import org.hibernate.validator.constraints.EAN;

import java.util.List;

/**
 * @author ：ZXM
 * @date ：Created in 2020/5/8 16:52
 * @description：super_admin数据表映射接口
 */
public interface SuperAdminMapper {
    int deleteByPrimaryKey(Integer superId);

    int insert(SuperAdmin record);

    int insertSelective(SuperAdmin record);

    SuperAdmin selectByPrimaryKey(Integer superId);

    int updateByPrimaryKeySelective(SuperAdmin record);

    int updateByPrimaryKey(SuperAdmin record);

    Integer selectCountByEmail(String email);

    List<SuperAdmin> selectBySelective(String username, String password);

    SuperAdmin selectByName(String username);
}